package com.gxa.modules.sys.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("t_user")
public class Staff implements Serializable {
    private int id;
    @TableField("employee_name")
    @ApiModelProperty("姓名")
    private String employeeName;
    @TableField("username")
    @ApiModelProperty("账号")
    private String username;

    @TableField("roleID")
    @ApiModelProperty("角色id")
    private int roleId;

    @TableField("state")
    @ApiModelProperty("状态")
    private String state;
    @TableField("add_person")
    @ApiModelProperty("添加人")
    private String addPerson;
    @TableField("add_time")
    @ApiModelProperty("添加时间")
    private Date addTime;

    @ApiModelProperty("角色")
    private Role role;
}
